import request from '@/utils/request'

//审查员的接口
export default{
    getExaminerListPage(current,limit,examinerQuery){
        return request({
          url:`/examiner/examiner/pageExaminerCondition/${current}/${limit}`,
          method: 'post',
          data:examinerQuery
        })
      },
    //删除（逻辑）
      toRemoveExaminer(id){
        return request({
          url:`/examiner/examiner/${id}`,
          method:'delete'
        })
    },
    //修改信息
    toUpdateExaminer(examiner){
        return request({
          url:`/examiner/examiner/updateExaminer`,
          method:'post',
          data:examiner
        })
      },
    //重置密码
    toResetPwd(examiner){
        return request({
            url:`/examiner/examiner/resetPassword`,
            method:'post',
            data:examiner
        })
    },
    //添加
    toAddExaminer(examiner){
        return request({
            url:'/examiner/examiner/addExaminer',
            method:'post',
            data:examiner
        })
    }
}
